package ca.newcommerce.youtube.data
{

    public class LinkData extends AbstractData
    {
        protected var _data:Object;

        public function LinkData(param1:Object)
        {
            this._data = param1;
            return;
        }// end function

        public function get rel() : String
        {
            var _loc_1:* = fromObj(this._data, "rel");
            if (_loc_1.indexOf("#") != -1)
            {
                return _loc_1.substr((_loc_1.lastIndexOf("#") + 1));
            }
            return _loc_1;
        }// end function

        public function get type() : String
        {
            return fromObj(this._data, "type");
        }// end function

        public function get href() : String
        {
            return fromObj(this._data, "href");
        }// end function

    }
}
